package com.xbhog.screwdemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

import java.io.IOException;

@SpringBootApplication
@ComponentScan({"com.xbhog.screwdemo.lfDomain"})
public class ScrewDemoApplication {

    public static void main(String[] args) throws IOException {

        /*BufferedImage image = insertWords(getBarCode("0616-799AA-1DC"), "0616-799AA-1DC");
        ImageIO.write(image, "jpg", new File("doc/bar1.png"));*/
        SpringApplication.run(ScrewDemoApplication.class, args);
    }

}
